Expand description

Calendrical calculations

This crate implements algorithms from Calendrical Calculations by Reingold & Dershowitz, Cambridge University Press, 4th edition (2018) as needed by ICU4X.

Most of these algorithms can be found as lisp code in the book or on GithHub.

The primary purpose of this crate is use by ICU4X, however if non-ICU4X users need this we are happy to add more structure to this crate as needed.

Modules

  • Chinese-like lunar calendars (Chinese, Dangi)
  • The Coptic calendar
  • The ethiopian calendar
  • The Hebrew calendar
  • Additional math helpers
  • Various islamic lunar calendars
  • The ISO calendar (also usable as Gregorian)
  • The Julian calendar
  • The persian calendar
  • Representation of Rata Die (R.D., also called J.D. for Julain Date) dates, which are represented as the number of days since ISO date 0001-01-01.